package com.pfsoft.myspringbootstarter.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author pengfei
 * @date 2022年07月19日 14:22
 */

@Data
@ConfigurationProperties(prefix = "person")
public class PersonProperties {
    private String name;
    private int age;
}
